[SQL] Construct the MutableRow from an Array#3217
[SQL] Construct the MutableRow from an Array#3217chenghao-intel wants to merge 3 commits intoapache:masterfrom
Conversation
|
Test build #23238 has started for PR 3217 at commit
|
|
Test build #23240 has started for PR 3217 at commit
|
|
Test build #23238 has finished for PR 3217 at commit
|
|
Test PASSed. |
|
Test build #23240 has finished for PR 3217 at commit
|
|
Test PASSed. |
There was a problem hiding this comment.
Can you make this private[sql]? I don't think we want to expose mutable rows to users yet as the API is still in flux.
There was a problem hiding this comment.
And actually, why is this here as a static method instead of an instance method on Row itself? What is your intended use case?
There was a problem hiding this comment.
Exposing the mutable row is required in #3247, we want to reuse the row object as aggregation buffer, but you're right, we should make it as instance method on Row itself.
There was a problem hiding this comment.
Oh, probably I can use the SpecificMutableRow, I will simplify the PR by fixing the GenericMutableRow only.
|
Thank you @marmbrus , I've updated the title, and revert the change of the |
|
Test build #23447 has started for PR 3217 at commit
|
|
Test build #23447 has finished for PR 3217 at commit
|
|
Test PASSed. |
|
Thanks! Merged to master and 1.2 |
Author: Cheng Hao <hao.cheng@intel.com> Closes #3217 from chenghao-intel/mutablerow and squashes the following commits: e8a10bd [Cheng Hao] revert the change of Row object 4681aea [Cheng Hao] Add toMutableRow method in object Row a751838 [Cheng Hao] Construct the MutableRow from an existed row (cherry picked from commit 69e858c) Signed-off-by: Michael Armbrust <michael@databricks.com>
No description provided.